/**
 * Created by cb-dlhis on 17-1-18.
 */

import { GET_INFO, PUT_INFO } from './Domain';

export function getHotelAndPartnerAPI (cb) {
  return GET_INFO('/admin/hotel/publish/show', cb);
}

export function postSecretNoAPI (params, cb) {
  return GET_INFO('/admin/hotel/publish/secret?dogNo='+ params.dogNo +'&dealerNo=' + params.dealerNo, cb);
}

export function getBuySecretInfoAPI (cb) {
  return GET_INFO('/admin/hotel/buysecret/record', cb);
}

export function getBuySecretInfoByParamsAPI (params, cb) {
  return GET_INFO('/admin/hotel/buysecret/record?page=' + params.pageNo + '&isSuccess=' + params.status + '&hotelid=' + params.hotelId, cb);
}

